import request from '@/utils/request'
/**
 * 获取申请列表
 */
export function getAllApprovalsList(data) {
  return request({
    url: `/user/process/instance/${data.page}/${data.size}`,
    method: 'PUT',
    data
  })
}
export function startProcess(data) {
  return request({
    url: '/user/process/startProcess',
    method: 'POST',
    data
  })
}
